package com.ohxwj.modules.web.service.impl;

import com.ohxwj.modules.web.dao.WebDayHitDao;
import com.ohxwj.modules.web.service.WebDayHitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2018-05-02.
 */
@Service
public class WebDayHitServiceImpl implements WebDayHitService {

    @Autowired
    private WebDayHitDao webDayHitDao;

    @Override
    public int statisticsToday() {
        return webDayHitDao.statisticsToday();
    }

    @Override
    public int statistics() {
        return webDayHitDao.statistics();
    }

    @Override
    public int updateDayCnt() {
        return webDayHitDao.updateDayCnt();
    }

    @Override
    public int save() {
        return webDayHitDao.insert();
    }

}
